<template>
  <el-row>
    <el-col :span="24">
      <el-carousel indicator-position="outside" height="150px">
        <el-carousel-item v-for="item in image" :key="item.id">
          <img :src="item.src" alt="图片加载失败">
        </el-carousel-item>
      </el-carousel>
    </el-col>
  </el-row>

  <el-row>
    <el-col :span="24">

    </el-col>
  </el-row>
</template>


<script>

export default {
  name: "StudentHome",
  data () {
    return {
      image: [
        { id:0, url: require("@/assets/image/1.png")},
        { id:1, url: require("@/assets/image/2.png")},
        { id:2, url: require("@/assets/image/2.png")},
        { id:3, url: require("@/assets/image/2.png")}
      ]
    }
  }
}
</script>

<style scoped>
.el-carousel__item h3 {
  color: #475669;
  font-size: 18px;
  opacity: 0.75;
  line-height: 200px;
  margin: 0;
  text-align: center;
}



</style>